home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d2
/
prompt.arc
/
PROMPTFO
< prev
next >
Wrap
Text File
|
1991-02-18
|
2KB
|
61 lines
PROMPT INFO
METASTRINGS
$t Time
$d Date
$n Drive
$p Drive & Path
$_ Moves cursor to next line
$b │
$g >
$l <
$h Backspaces one character
$p =
COLOR METASTRINGS
Usage: $e[xx;xx;...m
where xx is a number that changes the foreground or background color
or the display attribute, such as blinking. Semicolons separate each
number, and m end the metastring.
COLORS:
Foreground Color Background │ DISPLAY ATTRIBUTES
30··············Black·········40 │ 0 Normal
31··············Red········· 41 │ 1 Highlight
32··············Green·········42 │ 4 Underline
33··············Yellow········43 │ 5 Blink
34··············Blue········· 44 │ 7 Inverse
35··············Magenta·······45 │
36··············Cyan··········46 │
37··············White·········47 │
POSITIONING
$e[rA moves cursor up r rows
$e[rB moves cursor down r rows
$e[cC moves cursor right c columns
$e[cD moves cursor left c columns
$e[r;cf moves cursor to row r, column c
$e[r;cH also moves cursor to row r, column c
$e[H moves cursor to upper left corner
$e[2J clears screen and leaves cursor in upper left corner
$e[K erases current line from cursor to end of line
$e[s records cursor's current position
$e[u moves cursor to where it was when $e[s was issued
ALT Sequences for Graphic Characters
─ 196 ▐ 222 ╦ 203 ╡ 181 ┼ 197 ╝ 188
┐ 191 ╠ 204 ╫ 215
┌ 218 █ 219 ╩ 202 ╪ 216 │ 179
╖ 183 ╤ 209 ┬ 194 ╣ 185 ╨ 208 ε 238
└ 192 ▒ 177 ╓ 214 ╕ 184 α 224
┘ 217 ═ 205 ╙ 211 ╧ 207 ┴ 193 ╬ 206 ╒ 213 ° 248
├ 195 ╗ 187 ╜ 189 30 ⌐ 169 ⌡ 245
╔ 201 ╟ 199 31 ¬ 170 ║ 186 ╘ 212
┤ 180 3 ╜ 189 ⌠ 244
╚ 200 ╢ 182 5 ▀ 223 ╞ 198
22 ▌ 221
4